package com.cy.pj.modules.entity;

import com.cy.pj.common.web.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * 【请填写功能名称】对象 fz_af_stock
 *
 * @author kiven
 * @date 2023-03-19
 */
public class AfStock extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    private String shopId;
    /** 申请sku */
    @NotEmpty
    //@Excel(name = "申请sku")
    private String afSku;


    /** 申请数量 */
    //@Excel(name = "申请数量")
    @NotNull
    private Long afNum;

    /** 申请原店铺 */
    //@Excel(name = "申请原店铺")
    @NotEmpty
    private String afOldShop;

    /** 申请目标店铺 */
    //@Excel(name = "申请目标店铺")
    @NotEmpty
    private String afShop;

    /** 申请人 */
    //@Excel(name = "申请人")
    private String afUser;

    /** 批准人 */
    //@Excel(name = "批准人")
    private String ratifyUser;

    /** 当前状态0代表已申请1代表已批准 */
    //@Excel(name = "当前状态0代表已申请1代表已批准")
    private String statu;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    //@Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date addTime;

    /** 批准时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    //@Excel(name = "批准时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date retifyTime;

    public String getShopId() {
        return shopId;
    }

    public void setShopId(String shopId) {
        this.shopId = shopId;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setAfSku(String afSku)
    {
        this.afSku = afSku;
    }

    public String getAfSku()
    {
        return afSku;
    }
    public void setAfNum(Long afNum)
    {
        this.afNum = afNum;
    }

    public Long getAfNum()
    {
        return afNum;
    }
    public void setAfOldShop(String afOldShop)
    {
        this.afOldShop = afOldShop;
    }

    public String getAfOldShop()
    {
        return afOldShop;
    }
    public void setAfShop(String afShop)
    {
        this.afShop = afShop;
    }

    public String getAfShop()
    {
        return afShop;
    }
    public void setAfUser(String afUser)
    {
        this.afUser = afUser;
    }

    public String getAfUser()
    {
        return afUser;
    }
    public void setRatifyUser(String ratifyUser)
    {
        this.ratifyUser = ratifyUser;
    }

    public String getRatifyUser()
    {
        return ratifyUser;
    }
    public void setStatu(String statu)
    {
        this.statu = statu;
    }

    public String getStatu()
    {
        return statu;
    }
    public void setAddTime(Date addTime)
    {
        this.addTime = addTime;
    }

    public Date getAddTime()
    {
        return addTime;
    }
    public void setRetifyTime(Date retifyTime)
    {
        this.retifyTime = retifyTime;
    }

    public Date getRetifyTime()
    {
        return retifyTime;
    }

    @Override
    public String toString() {
        return "AfStock{" +
                "id=" + id +
                ", shopId='" + shopId + '\'' +
                ", afSku='" + afSku + '\'' +
                ", afNum=" + afNum +
                ", afOldShop='" + afOldShop + '\'' +
                ", afShop='" + afShop + '\'' +
                ", afUser='" + afUser + '\'' +
                ", ratifyUser='" + ratifyUser + '\'' +
                ", statu='" + statu + '\'' +
                ", addTime=" + addTime +
                ", retifyTime=" + retifyTime +
                '}';
    }
}
